package org.jeecg.modules.demo.reserverecord.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Date;

/**
 * @Description: 预约
 * @Author: jeecg-boot
 * @Date: 2022-01-14
 * @Version: V1.0
 */
@Data
@TableName("reserve_record")

@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "refill_card对象", description = "充值卡费用设置")
public class ReserveRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;


    @ApiModelProperty(value = "预约的时间")
    private Date prebookTime;
    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String orderNo;
    /**
     * 会员标识
     */
    @ApiModelProperty(value = "会员标识")
    private String memberId;
    /**
     * 会员名称
     */
    @ApiModelProperty(value = "会员名称")
    private String memberName;
    /**
     * 会员手机号
     */
    @ApiModelProperty(value = "会员手机号")
    private String cellphone;
    /**
     * 预约项目
     */
    @ApiModelProperty(value = "预约项目")
    private String projectId;
    /**
     * 预约时间
     */
    @ApiModelProperty(value = "预约时间")
    private String reserveTime;
    /**
     * 服务人员标识
     */
    @ApiModelProperty(value = "服务人员ID")
    private String staffId;
    /**
     * 服务人员
     */
    @ApiModelProperty(value = "服务人员")
    private String staffName;
    /**
     * 下单日期
     */
    @ApiModelProperty(value = "下单日期")
    private LocalDate orderDate;
    /**
     * 下单时间
     */
    @ApiModelProperty(value = "下单时间")
    private LocalTime orderTime;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String status;
    private String storeId;
}
